﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class BookBLL
    {
        private BookDAL dal; //定义书籍数据访问类
        public BookBLL()
        {
            dal = new BookDAL(); //实例化数据访问类对象

        }
        public DataSet GetBookList()
        {
            ds = dal.g
            return dal.GetBookList();
        }

        public DataSet GetBookListByBookID(string inputString)
        {
            return dal.GetBookListByBookID(inputString);
        }
        public DataSet GetBookListByBookName(string inputString)
        {
            return dal.GetBookListByBookName(inputString);
        }
        public DataSet GetBookListByPublisher(string inputString)
        {
            return dal.GetBookListByPublisher(inputString);
        }
        public DataSet GetBookListByAuthor(string inputString)
        {
            return dal.GetBookListByAuthor(inputString);
        }
    }
}
